﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Table.aspx.cs" Inherits="PlanningPoker.Table" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
	<link type="text/css" rel="Stylesheet" href="common.css" />
	<style type="text/css">
		#wrap
		{
		    width:100%;
		    padding:10px 10px 10px 10px;
		    border:1px solid black;
		}
		ul.table
		{
		    /*background-color:green;*/
		    width:100%;
		    padding:10px 10px 10px 10px;
		}
		li
		{
		    list-style:none;
		}
	</style>
	<script type="text/javascript">
		function update() {
			self.window.location.reload();
		}
		window.onload = function () {
			self.setInterval("update()", 3000);
		}
	</script>
</head>
<body>
	<div id="wrap">
		<ul class="table">
<%	foreach (var card in PlanningPoker.Game.Result.Cards)
	{
%>			<li class="card"><%= card.Player %> : <%= card.Card %></li>

<%	}
%>		</ul>
	</div>
    <form id="form1" method="post" action="Back.aspx">
		<input type="submit" value="회수" />
    </form>
</body>
</html>
